package com.seek.service.imp;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.seek.core.BaseServiceImpl;
import com.seek.dao.InterDao;
import com.seek.model.entity.TInter;
import com.seek.service.InterService;

@Repository("interService")
public class InterServiceImpl extends BaseServiceImpl<TInter> implements InterService {

	@Autowired
	public void setDao(InterDao interDao) {
		super.setDao(interDao);
	}
	public InterDao getDao() {
		return (InterDao) super.getDao();
	}
	
	@SuppressWarnings("rawtypes")
	public List findBySql(String sql){
		return this.getDao().findBySql(sql);
	}
}